package com.bci.pwtz.mysql.model;

import java.util.Date;

public class UserCompanyRef {
    private Long refId;

    private Long companyUserId;

    private Long companyId;

    private Company company;
    
    private CompanyUser user;
    
    private int number;
    
    private Date createTime;
    
    public Long getRefId() {
        return refId;
    }

    public void setRefId(Long refId) {
        this.refId = refId;
    }

    public Long getCompanyUserId() {
        return companyUserId;
    }

    public void setCompanyUserId(Long companyUserId) {
        this.companyUserId = companyUserId;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }
    
    public Company getCompany()
    {
        return company;
    }

    public void setCompany(Company company)
    {
        this.company = company;
    }
    
    public int getNumber()
    {
        return number;
    }

    public void setNumber(int number)
    {
        this.number = number;
    }
    
    public CompanyUser getUser()
    {
        return user;
    }

    public void setUser(CompanyUser user)
    {
        this.user = user;
    }

    
    public Date getCreateTime()
    {
        return createTime;
    }

    public void setCreateTime(Date createTime)
    {
        this.createTime = createTime;
    }

    @Override
    public String toString()
    {
        return "UserCompanyRef [refId=" + refId + ", companyUserId=" + companyUserId + ", companyId=" + companyId + ", company=" + company + ", user=" + user + ", number=" + number + ", createTime=" + createTime + "]";
    }

   
    
}